body {
    padding-top: 50px;
}

a:focus, .btn:focus:active, .btn:focus {
    outline: none;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    border: none;
    color: #333;
    padding: 3px 20px;
    width: 100%;
    text-align: left;
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav li > form > button.logout:focus,
.nav li > form > button.logout:hover {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
}

.nav li > form > button.logout:focus {
    outline: none;
}

#navbar .navbar-right .dropdown .dropdown-menu .dropdown-header {
    color: #333;
    font-size: 13px;
}


/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    /*    margin-bottom: 20px;*/
    margin-left: -20px;
}

.nav-sidebar > li > a {
    padding: 7px 20px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}

.nav-sidebar > li > a > i {
    margin-right: 5px;
}

.nav-sidebar > li.nav-header {
    font-weight: bold;
    color: #999;
    line-height: 18px;
    margin-top: 10px;
    padding: 0 20px;
    display: block;
}

.nav-sidebar > li.nav-header:first-child {
    margin-top: 0;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .btn-link {
    color: #d9d9d9;
}

.dropdown-menu .divider {
    margin: 5px 0;
}

/*
 * Main content
 */
.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}

.zmh-main {
    padding-bottom: 60px;
}

.zmh-ml-7 {
    margin-left: 7px;
}

.footer {
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
    z-index: 1001;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/*
 × extensions/installer
*/
.extensions-installer .nav-tabs {
    margin-bottom: 18px;
}

#dragarea {
    background-color: #fafbfc;
    border: 1px dashed #999;
    box-sizing: border-box;
    padding: 5% 0;
    transition: all 0.2s ease 0s;
    width: 100%;
}

#dragarea p.lead {
    color: #999;
}

#dragarea.hover {
    border-color: #666;
    background-color: #eee;
}

#dragarea.hover #upload-icon, #dragarea p.lead {
    color: #666;
}

#upload-icon {
    font-size: 48px;
    width: auto;
    height: auto;
    margin: 0;
    line-height: 175%;
    color: #999;
    transition: all .2s;
}

.extensions-installer .control-label {
    float: left;
    font-weight: normal;
    width: 160px;
    padding-top: 5px;
    padding-right: 5px;
}

.extensions-installer .controls {
    margin-left: 180px;
}

.extensions-installer .controls input {
    border: 1px solid #ccc;
    padding: 4px 6px;
    color: #555;
    border-radius: 3px;
    width: 40%;
}

.extensions-installer .controls input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted \9;
}

.form-actions {
    padding: 17px 20px 18px 180px;
    margin-top: 18px;
    margin-bottom: 18px;
    background-color: #f0f0f0;
    border-top: 1px solid #e5e5e5;
}

.btn-toolbar > .btn {
    margin-right: 5px;
}

.icon-default {
    color: #c67605;
}
.table a.desc::after{
    font-family: 'Glyphicons Halflings';
    content: '\e252';
    font-weight: 400;
    line-height: 1;
    font-style: normal;
    display: inline-block;
    font-size: 50%;
    position: relative;
    top: 1px;
    padding-left: 2px;
    padding-right: 2px;
}
.table a.asc::after{
    font-family: 'Glyphicons Halflings';
    content: '\e253';
    font-weight: 400;
    line-height: 1;
    font-style: normal;
    display: inline-block;
    font-size: 50%;
    position: relative;
    top: 1px;
    padding-left: 2px;
    padding-right: 2px;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td{
    border-top: none;
    border-bottom: 1px solid #dddddd;
}
.pagination{float: right;margin: 15px 0;}
.summary{display: inline-block;float: left;}
.form-group-default{margin-bottom: 15px;}

form .form-inline .control-label{padding-right: 10px;}
form .form-inline .form-control{width: 500px;max-width: 100%;}

.modal-header .close{outline: none;}
.embed-responsive-1by1{padding-bottom: 100%;}